package com.blog.user.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.blog.user.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.blog.user.entity.vo.UserVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zw
 * @since 2021-12-08
 */
public interface UserService extends IService<User> {
    public void pageQuery(Page<User> pageInfo, String pet);
    public User getOneByName(String name);
    public UserVo getById(String id);
    public Integer getRoleByID(String id);
    public void setRoleByID(String id,Integer role);
}
